<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,maximum-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
    <link rel="stylesheet" href="/static/bootstrap/bootstrap.min.css">
    <link rel="stylesheet" href="/static/bootstrap/bootstrap-theme.min.css">

    <script src="/static/jquery-3.3.1.min.js"></script>
    <script src="/static/bootstrap/bootstrap.min.js"></script>
    <style>
        html,body{
            background-color: #fff;
            width:100%;
            height:100%;
        }
        .order{
            width:100%;
            height:100%;
        }
        .banner{
            width:100%;
            height:6rem;
            background-size: cover;
            background-image: url('/static/images/banner.jpg');
        }
        .ewm{
            width:85%;
            height:19rem;
            background-size: cover;
            background-image: url('/static/images/beijing.png');
            margin:0.5rem auto;
        }
        .ewm p{
            color:#070707;
            font-size:0.7rem;
        }
        .ewm1{
            position:relative;
            text-align: center;
            top: 1rem;
            height:9rem;
        }
        .ewm2{
            position:relative;
            text-align: center;
            top: 1rem;
            height:9rem;
        }
        .pic1{
            width:6rem;
            height:6rem;
            background-size: cover;
            position:absolute;
            left: 3.5rem;
        }
        .pic2{
            width:6rem;
            height:6rem;
            background-size: cover;
            position:absolute;
            left: 3.5rem;
        }
        .content{
            background-color:#F7F7F7;
            padding: 0.5rem 1rem;
        }
        .content p{
            font-size: 0.5rem;
            margin-bottom:0.2rem;
        }
        .content span{
            color:red;
        }
        a{
            padding: 0.5rem;
            text-align: center;
            color: #fff;
            font-size: 0.6rem;
            background-image: url('/static/images/btn.png');
            background-color: transparent;
            display: block;
            margin: 0 auto;
            width: 10.8rem;
            height: 1.9rem;
            margin-bottom: 1rem;
            background-size: cover;
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
<div class="order">
    <div class="banner"></div>
    <div class="ewm">
        <div class="ewm1">
            <p>手机百度</p>
            <div class="pic1">
                <img src="data:image/png;base64, {{ qrbaidu }}">
            </div>
        </div>
        <div class="ewm2">
            <p>好看视频</p>
            <div class="pic2"><img src="data:image/png;base64, {{ qrhaokan }}"></div>
        </div>
    </div>
    <a href="/quanquaner/baidu/lxshow/">百度拉新规则></a>
</div>
</body>
</html>
<script>

    $(function () {
        //rem.js
        function change(){
            document.documentElement.style.fontSize=document.documentElement.clientWidth*20/320+'px';
        }
        change();
        window.addEventListener('resize',change,false)
        /****************/

    })
</script>